using System;
using System.Collections.Generic;
using System.Text;

namespace JsonHTTPHandler.Errors
{
  /// <summary>
  /// Describes a base JSON error
  /// </summary>
  public class JSONError
  {
    private string message;
    private string detail;
    private string rootMessage;

    public string Detail
    {
      get { return detail; }
      set { detail = value; }
    }

    public string Message
    {
      get { return message; }
      set { message = value; }
    }

    /// <summary>
    /// The result of Exception.GetBaseException()
    /// </summary>
    public string RootMessage
    {
      get { return rootMessage; }
      set { rootMessage = value; }
    }
  }
}
